<template>
  <div></div>
</template>

<script>
export default {
  data() {
    return {
      url: this.$route.params.url
    };
  },
  created() {
    console.log(this.url);
    // console.log(this.$router.history);
    // this.$router.back()
    
      if(this.url){
          window.location.href = this.url;
   }else {
        // this.$router.back()
        this.$router.go(-1)
   }

    // addEventListener(prpState)
  }
};
</script>

<style>
</style>